<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="page"  uri="http://www.aptech.com/pager"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>后台管理系统</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
	content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
<meta name="author" content="Muhammad">

<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<script src="js/jquery-1.7.2.min.js"></script>
<style type="text/css">
body {
	padding-bottom: 40px;
}
.sidebar-nav {
	padding: 9px 0;
}
p{margin-left:5px; font-size:14px;}
</style>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
	  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

<link rel="shortcut icon" href="img/favicon.ico">
</head>
<body>
<jsp:include page="/referencesHtml/jsAndCss.html"></jsp:include>
	<s:include value="../header.jsp" />
	<!-- topbar ends -->
	<div class="container-fluid">
		<div class="row-fluid">
			<s:include value="../left.jsp" />
			<div id="content" class="span10">
				<!-- content starts -->
				<div>
					<ul class="breadcrumb">
						<li><a href="index">主页</a> <span class="divider">/</span></li>
						<li><a href="#">常用客户整理</a></li>
					</ul>
				</div>
					<div id="dataContent">
				<div class="row-fluid sortable ui-sortable">
					<div class="box span12" style="margin-bottom: 30px;margin-top:0px;">
						<div class="box-header well" data-original-title="">
							<h4><i class="icon-edit"></i>常用客户整理</h4>
						</div>
						<div class="box-content">
						<div class="row-fluid packagepages" style="margin-top:20px;">
						<page:page pages="${commonlyUsers.allPage}" url="statistics!commonlyUseduser" param="&flag=commonlyUsersAjax"
										curpage="${commonlyUsers.curpage}" pageIndex="7" total="${commonlyUsers.total}" pageSize="${commonlyUsers.pageSize }"/>
							<table
								class="table table-striped table-bordered bootstrap-datatable dataTable" id="dateTable">
								<thead>
									<tr role="row">
										<th class="sorting_asc" role="columnheader" tabindex="0"
											aria-controls="DataTables_Table_0" rowspan="1" colspan="1">序号</th>
										<th class="sorting_asc" role="columnheader" tabindex="0"
											aria-controls="DataTables_Table_0" rowspan="1" colspan="1">用户手机</th>
										<th class="sorting" role="columnheader" tabindex="0"
											aria-controls="DataTables_Table_0" rowspan="1" colspan="1">网点设备</th>
										<th class="sorting" role="columnheader" tabindex="0"
											aria-controls="DataTables_Table_0" rowspan="1" colspan="1">正常取件数</th>
										<th class="sorting" role="columnheader" tabindex="0"
											aria-controls="DataTables_Table_0" rowspan="1" colspan="1">最后一次存入时间</th>
										<th class="sorting" role="columnheader" tabindex="0"
											aria-controls="DataTables_Table_0" rowspan="1" colspan="1">最后一次取出时间</th>
									</tr>
								</thead>
		
								<tbody>
									<s:if test="commonlyUsers.list.size()==0">
								    	<tr class="odd">
										  <td colspan="6">=_= 没有找到任何记录！</td>
										</tr>
								       </s:if>
									<s:iterator value="commonlyUsers.list" var="data" status="st">
										<tr class="odd">
											<td class="center "><s:property value="#st.index+1" /></td>
											<td class="center "><s:property value="#data.userMobile" /></td>
											<td class="center "><s:property value="#data.addr" /></td>
											<td class="center "><s:property value="#data.parcelSum" /></td>
											<td class="center "><s:date name="#data.storeTime" format="yyyy-MM-dd HH:mm:ss"/></td>
											<td class="center "><s:date name="#data.getTime" format="yyyy-MM-dd HH:mm:ss"/></td>
										</tr>
									</s:iterator>
								</tbody>
							</table>
							<input type="hidden" value="${commonlyUsers.curpage}" id="curpage"/><input type="hidden" value="${commonlyUsers.pageSize }" id="pageSize"/>
							<page:page pages="${commonlyUsers.allPage}" url="statistics!commonlyUseduser" param="&flag=commonlyUsersAjax"
										curpage="${commonlyUsers.curpage}" pageIndex="7" total="${commonlyUsers.total}" pageSize="${commonlyUsers.pageSize }"/>
							</div>
						</div>
					</div>
				</div>
				</div>
			</div>
		</div>
		<hr>
		<s:include value="../footer.jsp" />
	</div>
</body>
</html>